import { error } from "cc";

export default abstract class FrameBase{
    protected _tag:string = this.constructor.name;
    protected Error(str:string):void{
        error(`module: ${this._tag} err: ${str}`)
    };

    protected static _tag:string = this.constructor.name;
    protected static Error(str:string):void{
        error(`module: ${this._tag} err: ${str}`)
    };
}